package mvcdemo.service.impl;

import mvcdemo.service.IUserService;
import mvcdemo.vo.User;

public class UserServiceImpl implements IUserService {

	@Override
	public User login(String username, String password) {
		if("heather".equals(username)&&"heather".equals(password)){
			User user=new User();
			user.setUsername(username);
			user.setPassword(password);
			return user;
		}
		return null;
	}

}
